import { Space } from "antd";

const TreeCategoryItem = ({ data, selectNode }) => {
    return (
        <Space direction="vertical" style={{ textAlign: "center", backgroundColor: selectNode?.id === data.id ? "#eee" : "#fff", width: "auto", padding: "10px 16px" }}>
            <div>{data.oiName}</div>
        </Space>
    );
};

export default TreeCategoryItem;
